package com.feicheng.house.service;

import com.feicheng.house.entity.DepositClientVo;
import com.feicheng.house.result.ResultInfo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * VIEW 服务类
 * </p>
 *
 * @author feichengTech
 * @since 2021-11-22
 */
public interface IDepositClientVoService extends IService<DepositClientVo> {
	/**
	 * 根据相关入参查询deposit表，若无全查询deposit表
	 * @param currentPage
	 * @param pageSize
	 * @param searchKey	
	 * @param searchState 
	 * @return 查询到的押金记录和分页详情
	 */
	ResultInfo selectAll(Integer currentPage, Integer pageSize, String searchKey ,String searchState);
	
	/**
	 * 根据押金编号查询对应记录
	 * @param depositId 押金编号
	 * @return 查询到的记录
	 */
	ResultInfo getDeposit(Integer depositId);

}
